package com.fmc123.shop.entity ;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import com.fmc123.base.pesistence.BaseEntity;
/**
 * 
 * @desc    goods_car
 * @date    2015/11/14
 */
@Entity
@Table(name = "goods_car" )
public class GoodsCar extends BaseEntity {
    
    private static final long serialVersionUID = 1L;

    @Column(name = "NUM" ,length = 11 ,nullable = false)  
    private Long num ;
    
    @Column(name = "PRICE" ,nullable = false)  
    private Double price ;
    public void setNum (Long num){
        this.num = num ;
    }
    public Long getNum (){
        return this.num ;
    }
     
    public void setPrice (Double price){
        this.price = price ;
    }
    public Double getPrice (){
        return this.price ;
    }
     
}